{% extends "status/base.html" %}
{% block title %} 终端排行{% endblock %}

{% block body %}
<div style="text-align: center; width: 700px"><h2>终端设备排行</h2></div>
<div>
<table style="background-color: #ccf">
    <tr><th>设备名称</th><th class="num_col">使用人数</th></tr>
    {% for t,c,f in devs %}
    <tr><td>{% if f %}
            {{ f }}
            {% else %}
            {{ t }}
            {% endif %}
    </td><td class="num_col">{{ c }}</td></tr>
    {% endfor %}
</table>
<div><span><a href="{{ url_for('.fav_terminal') }}">首页</a></span><span>&nbsp&nbsp</span><span><a href="{{
            url_for('.fav_terminal', start=next) 
            }}">下一页</a></div>
</div>
<div style="height: 20px"></div>
{% endblock %}
